import https from '../../utils/request';

export const uploadAvatar=(data,userId)=>{
    return https.post(`/editor/uploadAvatar/${userId}`,data)
}

export const updateUser=(data)=>{
    return https.post(`/editor/updateUser`,data)
}